package com.getui.java.query;

import java.util.ArrayList;
import java.util.List;

import com.getui.java.COMM;
import com.gexin.rp.sdk.base.IQueryResult;
import com.gexin.rp.sdk.http.IGtPush;

public class GetPersonTags {
	List<String> cidList = new ArrayList<String>();

	// 使用https的域名
	// static String host = "https://api.getui.com/apiex.htm";

	public static void main(String[] args) throws Exception {
		IGtPush push = new IGtPush(COMM.host, COMM.appKey, COMM.masterSecret);
		push.connect();
		GetUserStatus.getUserStatus();
	}

	public static void getPersonaTags() {
		IGtPush push = new IGtPush(COMM.host, COMM.appKey, COMM.masterSecret);
		IQueryResult abc = push.getPersonaTags(COMM.appId);
		System.out.println(abc.getResponse());
		// {result=Offline, lastLogin=1481169620213}
	}
}